<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta name="generator" content="PHPDoctor 2RC4 (http://peej.github.com/phpdoctor/)">
<meta name="when" content="Fri, 23 Jul 2010 20:16:21 +0000">

<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
<link rel="start" href="../../../overview-summary.html">

<title>HR_accountApi (Hosting Reborn API PHP Library)</title>

</head>
<body id="definition" onload="parent.document.title=document.title;">

<div class="header">
<h1>Hosting Reborn API PHP Library</h1>
<ul>
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="../../../com/hostingreborn/api/package-summary.html">Package</a></li>
<li class="active">Class</li>
<li><a href="../../../com/hostingreborn/api/package-tree.html">Tree</a></li>
<li><a href="../../../overview-files.html">Files</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
</ul>
</div>

<div class="small_links">
<a href="../../../index.html" target="_top">Frames</a>
<a href="../../../com/hostingreborn/api/hr_accountapi.html" target="_top">No frames</a>
</div>
<div class="small_links">
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
</div>
<hr>

<div class="qualifiedName">com\hostingreborn\api\HR_accountApi</div>
<a href="../../../source/hr_accountapi.class.php.html#line20" class="location">HR_accountApi.class.php at line 20</a>

<h1>Class HR_accountApi</h1>

<pre class="tree"><a href="../../../com/hostingreborn/api/hr_api.html">HR_api</a><br>    └─<strong>HR_accountApi</strong><br /></pre>

<hr>

<p class="signature">public  class <strong>HR_accountApi</strong><br>extends <a href="../../../com/hostingreborn/api/hr_api.html">HR_api</a>

</p>

<div class="comment" id="overview_description"><p>An interface to the Hosting Reborn API account functions.</p></div>

<dl>
<dt>See Also:</dt>
<dd><code>https//api.hostingreborn.com/docs/functions/account/</code></dd>
<dt>Author:</dt>
<dd>Jon Cram <jon@hostingreborn.com></dd>
<dt>Copyright:</dt>
<dd>https://api.hostingreborn.com/code/copyright/</dd>
<dt>License:</dt>
<dd>https://api.hostingreborn.com/code/license/</dd>
<dt>Version:</dt>
<dd>1.0 $Date: 2010/07/04 22:51:02 $ $Revision: 2c423d307a13 $ /</dd>
</dl>
<hr>

<table id="summary_method">
<tr><th colspan="2">Method Summary</th></tr>
<tr>
<td class="type"> boolean</td>
<td class="description"><p class="name"><a href="#cancelNewEmail()">cancelNewEmail</a>(string key)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> boolean</td>
<td class="description"><p class="name"><a href="#confirmNewEmail()">confirmNewEmail</a>(string key, string emailKey)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> array</td>
<td class="description"><p class="name"><a href="#get()">get</a>(string key)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> float</td>
<td class="description"><p class="name"><a href="#getBalance()">getBalance</a>(string key, string datetime)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> mixed</td>
<td class="description"><p class="name"><a href="#getKey()">getKey</a>(string email, string password)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> array</td>
<td class="description"><p class="name"><a href="#getNewEmail()">getNewEmail</a>(string key)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> array</td>
<td class="description"><p class="name"><a href="#getNotificationSettings()">getNotificationSettings</a>(string key, string email)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> string</td>
<td class="description"><p class="name"><a href="#getSuspendedUrl()">getSuspendedUrl</a>(string key)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> mixed</td>
<td class="description"><p class="name"><a href="#resetPassword()">resetPassword</a>(string email, string password_key)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> boolean</td>
<td class="description"><p class="name"><a href="#setNotificationSettings()">setNotificationSettings</a>(string key, boolean balanceWarning, float balanceWarningLevel, boolean summaryMonthly, boolean summaryWeekly, boolean summaryDaily, boolean disk90, boolean disk80, boolean disk70, boolean bandwidth90, boolean bandwidth80, boolean bandwidth70)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> boolean</td>
<td class="description"><p class="name"><a href="#setSuspendedUrl()">setSuspendedUrl</a>(string key, string url)</p><p class="description"></p></td>
</tr>
<tr>
<td class="type"> boolean</td>
<td class="description"><p class="name"><a href="#verifyEmail()">verifyEmail</a>(string email, string key)</p><p class="description"></p></td>
</tr>
</table>

<table class="inherit">
<tr><th colspan="2">Methods inherited from com\hostingreborn\api\HR_api</th></tr>
<tr><td><a href="../../../com/hostingreborn/api/hr_api.html#__construct()">__construct</a>, <a href="../../../com/hostingreborn/api/hr_api.html#buildArguments()">buildArguments</a>, <a href="../../../com/hostingreborn/api/hr_api.html#buildQueryString()">buildQueryString</a>, <a href="../../../com/hostingreborn/api/hr_api.html#read()">read</a>, <a href="../../../com/hostingreborn/api/hr_api.html#write()">write</a></td></tr></table>

<h2 id="detail_method">Method Detail</h2>
<a href="../../../source/hr_accountapi.class.php.html#line153" class="location">HR_accountApi.class.php at line 153</a>

<h3 id="cancelNewEmail()">cancelNewEmail</h3>
<code class="signature">public  boolean <strong>cancelNewEmail</strong>(string key)</code>
<div class="details">
<p></p><dl>
<dt>See Also:</dt>
<dd><code><a href="http://api.hostingreborn.com/docs/functions/account/cancel_new_email/">http://api.hostingreborn.com/docs/functions/account/cancel_new_email/</a></code></dd>
</dl>
</div>

<hr>

<a href="../../../source/hr_accountapi.class.php.html#line176" class="location">HR_accountApi.class.php at line 176</a>

<h3 id="confirmNewEmail()">confirmNewEmail</h3>
<code class="signature">public  boolean <strong>confirmNewEmail</strong>(string key, string emailKey)</code>
<div class="details">
<p></p><dl>
<dt>See Also:</dt>
<dd><code><a href="http://api.hostingreborn.com/docs/functions/account/confirm_new_email/">http://api.hostingreborn.com/docs/functions/account/confirm_new_email/</a></code></dd>
</dl>
</div>

<hr>

<a href="../../../source/hr_accountapi.class.php.html#line75" class="location">HR_accountApi.class.php at line 75</a>

<h3 id="get()">get</h3>
<code class="signature">public  array <strong>get</strong>(string key)</code>
<div class="details">
<p></p><dl>
<dt>See Also:</dt>
<dd><code><a href="http://api.hostingreborn.com/docs/functions/account/get/">http://api.hostingreborn.com/docs/functions/account/get/</a></code></dd>
</dl>
</div>

<hr>

<a href="../../../source/hr_accountapi.class.php.html#line108" class="location">HR_accountApi.class.php at line 108</a>

<h3 id="getBalance()">getBalance</h3>
<code class="signature">public  float <strong>getBalance</strong>(string key, string datetime)</code>
<div class="details">
<p></p><dl>
<dt>See Also:</dt>
<dd><code><a href="http://api.hostingreborn.com/docs/functions/account/get_balance/">http://api.hostingreborn.com/docs/functions/account/get_balance/</a></code></dd>
<dt>Parameters:</dt>
<dd></dd>
<dd>datetime - Y-m-d H:i:s</dd>
</dl>
</div>

<hr>

<a href="../../../source/hr_accountapi.class.php.html#line45" class="location">HR_accountApi.class.php at line 45</a>

<h3 id="getKey()">getKey</h3>
<code class="signature">public  mixed <strong>getKey</strong>(string email, string password)</code>
<div class="details">
<p></p><dl>
<dt>See Also:</dt>
<dd><code><a href="http://api.hostingreborn.com/docs/functions/key/get/">http://api.hostingreborn.com/docs/functions/key/get/</a></code></dd>
<dt>Returns:</dt>
<dd>string on success, otherwise false</dd>
</dl>
</div>

<hr>

<a href="../../../source/hr_accountapi.class.php.html#line130" class="location">HR_accountApi.class.php at line 130</a>

<h3 id="getNewEmail()">getNewEmail</h3>
<code class="signature">public  array <strong>getNewEmail</strong>(string key)</code>
<div class="details">
<p></p><dl>
<dt>See Also:</dt>
<dd><code><a href="http://api.hostingreborn.com/docs/functions/account/get_new_email/">http://api.hostingreborn.com/docs/functions/account/get_new_email/</a></code></dd>
</dl>
</div>

<hr>

<a href="../../../source/hr_accountapi.class.php.html#line232" class="location">HR_accountApi.class.php at line 232</a>

<h3 id="getNotificationSettings()">getNotificationSettings</h3>
<code class="signature">public  array <strong>getNotificationSettings</strong>(string key, string email)</code>
<div class="details">
<p></p><dl>
<dt>See Also:</dt>
<dd><code><a href="http://api.hostingreborn.com/docs/functions/account/get_notification_settings/">http://api.hostingreborn.com/docs/functions/account/get_notification_settings/</a></code></dd>
</dl>
</div>

<hr>

<a href="../../../source/hr_accountapi.class.php.html#line327" class="location">HR_accountApi.class.php at line 327</a>

<h3 id="getSuspendedUrl()">getSuspendedUrl</h3>
<code class="signature">public  string <strong>getSuspendedUrl</strong>(string key)</code>
<div class="details">
<p></p><dl>
<dt>See Also:</dt>
<dd><code><a href="http://api.hostingreborn.com/docs/functions/account/get_suspended_url/">http://api.hostingreborn.com/docs/functions/account/get_suspended_url/</a></code></dd>
</dl>
</div>

<hr>

<a href="../../../source/hr_accountapi.class.php.html#line372" class="location">HR_accountApi.class.php at line 372</a>

<h3 id="resetPassword()">resetPassword</h3>
<code class="signature">public  mixed <strong>resetPassword</strong>(string email, string password_key)</code>
<div class="details">
<p></p><dl>
<dt>See Also:</dt>
<dd><code><a href="http://api.hostingreborn.com/docs/functions/account/reset_password/">http://api.hostingreborn.com/docs/functions/account/reset_password/</a></code></dd>
</dl>
</div>

<hr>

<a href="../../../source/hr_accountapi.class.php.html#line294" class="location">HR_accountApi.class.php at line 294</a>

<h3 id="setNotificationSettings()">setNotificationSettings</h3>
<code class="signature">public  boolean <strong>setNotificationSettings</strong>(string key, boolean balanceWarning, float balanceWarningLevel, boolean summaryMonthly, boolean summaryWeekly, boolean summaryDaily, boolean disk90, boolean disk80, boolean disk70, boolean bandwidth90, boolean bandwidth80, boolean bandwidth70)</code>
<div class="details">
<p></p><dl>
<dt>See Also:</dt>
<dd><code><a href="http://api.hostingreborn.com/docs/functions/account/set_notification_settings/">http://api.hostingreborn.com/docs/functions/account/set_notification_settings/</a></code></dd>
</dl>
</div>

<hr>

<a href="../../../source/hr_accountapi.class.php.html#line349" class="location">HR_accountApi.class.php at line 349</a>

<h3 id="setSuspendedUrl()">setSuspendedUrl</h3>
<code class="signature">public  boolean <strong>setSuspendedUrl</strong>(string key, string url)</code>
<div class="details">
<p></p><dl>
<dt>See Also:</dt>
<dd><code><a href="http://api.hostingreborn.com/docs/functions/account/set_suspended_url/">http://api.hostingreborn.com/docs/functions/account/set_suspended_url/</a></code></dd>
</dl>
</div>

<hr>

<a href="../../../source/hr_accountapi.class.php.html#line205" class="location">HR_accountApi.class.php at line 205</a>

<h3 id="verifyEmail()">verifyEmail</h3>
<code class="signature">public  boolean <strong>verifyEmail</strong>(string email, string key)</code>
<div class="details">
<p></p><dl>
<dt>See Also:</dt>
<dd><code><a href="http://api.hostingreborn.com/docs/functions/account/verify_email/">http://api.hostingreborn.com/docs/functions/account/verify_email/</a></code></dd>
</dl>
</div>

<hr>

<div class="header">
<h1>Hosting Reborn API PHP Library</h1>
<ul>
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="../../../com/hostingreborn/api/package-summary.html">Package</a></li>
<li class="active">Class</li>
<li><a href="../../../com/hostingreborn/api/package-tree.html">Tree</a></li>
<li><a href="../../../overview-files.html">Files</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
</ul>
</div>

<div class="small_links">
<a href="../../../index.html" target="_top">Frames</a>
<a href="../../../com/hostingreborn/api/hr_accountapi.html" target="_top">No frames</a>
</div>
<div class="small_links">
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
</div>
<hr>

<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>

</body>

</html>